EmaMobile.views.ListeTodoView = Ext.extend( Ext.Panel,{

	fullscreen : true,
	layout : {
	    type : 'fit',
	    align : 'left'
	},
	
	initComponent : function() {
		
		this.xmlReponse = null;
		
        this.dockedItems = [ {
            dock : 'top',
            xtype : 'toolbar',
            title : '<div class="tache-image">Liste de Todo</div>'
        } ],
        
        this.list = new Ext.List(
                {
                    store : 'TodoStore',
                    itemTpl : new Ext.XTemplate('<tpl for=".">',
													'<div class="Todo_name">{description}</div>',
												'</tpl>'),			
                    scroll : 'vertical',
                    onItemDisclosure : false,
                    disableSelection : true
                    }
                ),
        
        this.items = [ this.list ],
	    
	    EmaMobile.views.ListeTodoView.superclass.initComponent.call(this);
	            
	}
});